package com.yogee.topseller.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.yogee.topseller.R;

/**
 * @auathor ${XiaoJianghong}
 * @date 2017/7/5.
 */
public class ButlerServiceRvAdapter extends RecyclerView.Adapter<ButlerServiceRvAdapter.ItemHolder> {
    private Context context;

    public ButlerServiceRvAdapter(Context context) {
        this.context = context;
    }

    @Override
    public ItemHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = LayoutInflater.from(context).inflate(R.layout.item_is_list, parent, false);

        return new ItemHolder(view);
    }

    @Override
    public void onBindViewHolder(ItemHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 6;
    }

    class ItemHolder extends RecyclerView.ViewHolder {

        public ItemHolder(View itemView) {
            super(itemView);
        }
    }
}
